package com.ruoyi.exam.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成绩管理对象 competition_exam
 * 
 * @author WXY
 * @date 2023-11-21
 */
public class CompetitionExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 身份证号码 */
    @Excel(name = "身份证号码",type = Excel.Type.EXPORT)
    private String certno;

    /** 姓名 */
    @Excel(name = "姓名",type = Excel.Type.EXPORT)
    private String name;

    /** 报名赛事id */
    @Excel(name = "报名赛事id",type = Excel.Type.EXPORT)
    private String competitionId;

    /** 考场编号 */
    @Excel(name = "考场编号",type = Excel.Type.EXPORT)
    private String examAddress;

    /** 考场座位号 */
    @Excel(name = "考场座位号",type = Excel.Type.EXPORT)
    private String examSeatnumber;

    /** 考试成绩 */
//    @Excel(name = "考试成绩")
    private Double examScores;

    /** 成绩审核(默认0未审核,1通过,2不通过,3.异常) */
//    @Excel(name = "成绩审核(默认0未审核,1通过,2不通过,3.异常)")
    private Long examReview;

    /** 成绩审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "成绩审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date examReviewtime;

    /** 成绩审核人id */
//    @Excel(name = "成绩审核人")
    private String examReviewBy;

    /** 成绩发布状态(默认0未发布,1发布) */
//    @Excel(name = "成绩发布状态(默认0未发布,1发布)")
    private Long examStatus;

    public CompetitionExam() {
    }

    public CompetitionExam(long serialVersionUID, Long id, String certno, String name, String competitionId, String examAddress, String examSeatnumber, Double examScores, Long examReview, Date examReviewtime, String examReviewBy, Long examStatus) {
//        this.serialVersionUID = serialVersionUID;
        this.id = id;
        this.certno = certno;
        this.name = name;
        this.competitionId = competitionId;
        this.examAddress = examAddress;
        this.examSeatnumber = examSeatnumber;
        this.examScores = examScores;
        this.examReview = examReview;
        this.examReviewtime = examReviewtime;
        this.examReviewBy = examReviewBy;
        this.examStatus = examStatus;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("certno", getCertno())
            .append("competitionId", getCompetitionId())
            .append("examAddress", getExamAddress())
            .append("examSeatnumber", getExamSeatnumber())
            .append("examScores", getExamScores())
            .append("examReview", getExamReview())
            .append("examReviewtime", getExamReviewtime())
            .append("examReviewBy", getExamReviewBy())
            .append("examStatus", getExamStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return certno
     */
    public String getCertno() {
        return certno;
    }

    /**
     * 设置
     * @param certno
     */
    public void setCertno(String certno) {
        this.certno = certno;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return competitionId
     */
    public String getCompetitionId() {
        return competitionId;
    }

    /**
     * 设置
     * @param competitionId
     */
    public void setCompetitionId(String competitionId) {
        this.competitionId = competitionId;
    }

    /**
     * 获取
     * @return examAddress
     */
    public String getExamAddress() {
        return examAddress;
    }

    /**
     * 设置
     * @param examAddress
     */
    public void setExamAddress(String examAddress) {
        this.examAddress = examAddress;
    }

    /**
     * 获取
     * @return examSeatnumber
     */
    public String getExamSeatnumber() {
        return examSeatnumber;
    }

    /**
     * 设置
     * @param examSeatnumber
     */
    public void setExamSeatnumber(String examSeatnumber) {
        this.examSeatnumber = examSeatnumber;
    }

    /**
     * 获取
     * @return examScores
     */
    public Double getExamScores() {
        return examScores;
    }

    /**
     * 设置
     * @param examScores
     */
    public void setExamScores(Double examScores) {
        this.examScores = examScores;
    }

    /**
     * 获取
     * @return examReview
     */
    public Long getExamReview() {
        return examReview;
    }

    /**
     * 设置
     * @param examReview
     */
    public void setExamReview(Long examReview) {
        this.examReview = examReview;
    }

    /**
     * 获取
     * @return examReviewtime
     */
    public Date getExamReviewtime() {
        return examReviewtime;
    }

    /**
     * 设置
     * @param examReviewtime
     */
    public void setExamReviewtime(Date examReviewtime) {
        this.examReviewtime = examReviewtime;
    }

    /**
     * 获取
     * @return examReviewBy
     */
    public String getExamReviewBy() {
        return examReviewBy;
    }

    /**
     * 设置
     * @param examReviewBy
     */
    public void setexamReviewBy(String examReviewBy) {
        this.examReviewBy = examReviewBy;
    }

    /**
     * 获取
     * @return examStatus
     */
    public Long getExamStatus() {
        return examStatus;
    }

    /**
     * 设置
     * @param examStatus
     */
    public void setExamStatus(Long examStatus) {
        this.examStatus = examStatus;
    }
}
